package Java.BlackHorse.a06ThreadTest.Test2;

import java.util.ArrayList;
import java.util.Collections;

public class ThreadDemo {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        Collections.addAll(list,10,20,50,100,200);

        MyThread m1 = new MyThread("奖池一",list);
        MyThread m2 = new MyThread("奖池二",list);

        m1.start();
        m2.start();
    }
}
